package io.renren.modules.oa.dao;

import io.renren.modules.oa.entity.DeptEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 部门表
 * 
 * @author liufh
 * @email sunlightcs@gmail.com
 * @date 2021-05-20 14:45:22
 */
@Mapper
public interface DeptDao extends BaseMapper<DeptEntity> {

    List<DeptEntity> queryByCondition(String deptName);

    List<DeptEntity> getByParentId(Long parentId);

}
